﻿@using OSBLE.Resources
@using OSBLE.Models.Assignments
@model DynamicDictionary
@{
    dynamic dataModel = Model;
    IAssignmentTeam currentTeam = dataModel.AssignmentTeam as IAssignmentTeam;       
}
<td>
@if (currentTeam is AssignmentTeam)
{
    AssignmentTeam at = currentTeam as AssignmentTeam;
    if (at.GetSubmissionTime() != null)
    {
        @Html.ActionLink("View/Edit...", "InlineReview", "Assignment", new { assignmentID = currentTeam.Assignment.ID, teamID = currentTeam.Team.ID }, new { })
    }
    else
    {
        @:Nothing to review
    }
}
else
{
    //currently only handling submissions for assignment teams.  May need to be reworked in the
    //future.
    @:not supported
}
</td>